home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / S-USG3-1.H < prev    next >
C/C++ Source or Header  |  1989-06-28  |  3KB  |  135 lines

  1. /*
  2.  *    This version is for System V Release 3.1
  3.  */
  4.  
  5.  
  6. /*
  7.  *    Include header files containing the following definitions:
  8.  *
  9.  *         off_t, time_t, struct stat
  10.  */
  11.  
  12. #include <sys/types.h>
  13. #include <sys/stat.h>
  14.  
  15. /*
  16.  *    Define if your system has system V like ioctls
  17.  */
  18.  
  19. #define    HAVE_TERMIO            /* */
  20.  
  21. /*
  22.  *    Define to use terminfo database.
  23.  *    Otherwise, termcap is used
  24.  */
  25.  
  26. #define    USE_TERMINFO            /* */
  27.  
  28. /*
  29.  *    Specify the library containing the termcap/terminfo access routines.
  30.  *    Notice:  nn does not use curses.
  31.  *    Notice:  You must also specify whether termcap or terminfo is
  32.  *         used when you edit config.h (see below).
  33.  */
  34.  
  35. #define    TERMLIB -lcurses
  36.  
  37. /*
  38.  *    Define HAVE_STRCHR if strchr() and strrchr() are available
  39.  */
  40.  
  41. #define HAVE_STRCHR            /* */
  42.  
  43. /*
  44.  *    Define if a signal handler has type void (see signal.h)
  45.  */
  46.  
  47. #define    SIGNAL_HANDLERS_ARE_VOID    /* */
  48.  
  49. /*
  50.  *    Define if signals must be set again after they are caught
  51.  */
  52.  
  53. #define    RESET_SIGNAL_WHEN_CAUGHT    /* */
  54.  
  55. /*
  56.  *    Define MICRO_ALARM to timeout in 0.1 seconds if possible
  57.  */
  58.  
  59. #define MICRO_ALARM()    alarm(1)    /* System V */
  60.  
  61. /*
  62.  *    Define if your system has BSD like job control (SIGTSTP works)
  63.  */
  64.  
  65. /* #define HAVE_JOBCONTROL            /* */
  66.  
  67. /*
  68.  *    Define if your system provides the "directory(3X)" access routines
  69.  *
  70.  *    If true, include the header file(s) required by the package below
  71.  *    (remember that <sys/types.h> or equivalent is included above)
  72.  *    Also typedef Direntry to the proper struct type.
  73.  */
  74.  
  75. #define    HAVE_DIRECTORY            /* */
  76.  
  77. #include <dirent.h>            /* System V */
  78.  
  79. typedef struct dirent Direntry;        /* System V */
  80.  
  81. /*
  82.  *    Define if your system has a mkdir() library routine
  83.  */
  84.  
  85. #define    HAVE_MKDIR            /* */
  86.  
  87. /*
  88.  *    Define HAVE_GETHOSTNAME if your system provides a BSD like 
  89.  *    gethostname routine.
  90.  *    Otherwise, define HAVE_UNAME if uname() is avaiable.
  91.  *    As a final resort, define HOSTNAME to the name of your system.
  92.  */
  93.  
  94. #define    HAVE_UNAME            /* System V */
  95.  
  96. /*
  97.  *    Define DETATCH_TERMINAL to be a command sequence which 
  98.  *    will detatch a process from the control terminal
  99.  *    Also include files needed to perform this HERE.
  100.  *    If not possible, just define it (empty)
  101.  */
  102.  
  103. #define    DETATCH_TERMINAL setpgrp();    /* System V */
  104.  
  105. /* 
  106.  *    Specify where the Bourne Shell is.
  107.  */
  108.  
  109. #define SHELL        "/bin/sh"
  110.  
  111. /*
  112.  *    Specify the default mailer to be invoked by nnmail
  113.  */
  114.  
  115. #define    MAILX        "/usr/bin/mailx"    /* SV */
  116.  
  117. /*
  118.  *    Specify the default pager & options.
  119.  */
  120.  
  121. #define    PAGER        "pg -n -s"
  122.  
  123. /*
  124.  *    Specify the default print command and options.
  125.  */
  126.  
  127. #define    PRINTER        "lp -s"
  128.  
  129.  
  130. /*
  131.  *    Define the maximum length of any pathname that may occur
  132.  */
  133.  
  134. #define    FILENAME     128
  135.